#ifndef _CEFFECT_H_
#define _CEFFECT_H_

#include <vector>
class CEmitter;
class CBase;
class CEffect
{
private:
	std::vector<CEmitter*> m_lParticleEffects;
	CEmitter* emit;
	
public:
	CEffect(void);
	~CEffect(void);
	CEffect(CEffect& copied);
	void Play(int nPosX, int nPosY, int index);
	void Play(int index, CBase* object, int offx = 0, int offy = 0);
	void LoadEffect(std::string szFilename);
	void update(float fElapsedTime);
	void render();
	
};

#endif